package com.dtw.ditouwang.ui.mine;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;

import com.dtw.ditouwang.R;
import com.dtw.ditouwang.ui.BaseActivity;

public class NotifyActivity extends BaseActivity implements View.OnClickListener {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_notify);
        enableBack();
        setTitle("通知");
        findViewById(R.id.text_system_notify).setOnClickListener(this);
        findViewById(R.id.text_user_notify).setOnClickListener(this);
    }

    @Override
    public void onClick(View view) {
        switch (view.getId()){
            case R.id.text_system_notify:
                startActivity(new Intent(this,SystemNotifyActivity.class));
                break;
            case R.id.text_user_notify:
                startActivity(new Intent(this,UserNotifyActivity.class));
                break;
        }
    }
}
